home *** CD-ROM | disk | FTP | other *** search
-
- #include <suntool/sunview.h>
-
- draw_scan()
- {
- int i,j,s_type,color;
- extern int scan_n_max,scan_col_dim,scan_region_index,symbol_size;
- extern int *scan_type;
- extern double *t_va,**scan_x;
- extern Pixwin *pw;
-
- for(i=0;i<scan_n_max;i++) {
- for(j=0;j<scan_col_dim;i++)
- t_va[j] = scan_x[i][j];
- decode_color_symbol(scan_type[i],&color,&s_type);
- pen_down(scan_region_index,pw,t_va,color,s_type,symbol_size,1);
- }
- }
-